﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditResourceInfo.aspx.cs"
    Inherits="sysadmin_CourseManager_EditResourceInfo" ValidateRequest="False" %>

<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>修改上传资源</title>
    <link href="../../css/1/css/css.css" type="text/css" rel="stylesheet" />
<script language="javascript" type="text/javascript">
// <!CDATA[

function btnTest_onclick() {

}

// ]]>
</script>
</head>
<body class="bodymain">
    <form id="form1" runat="server">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tree-titbg_right">
            <tr>
                <td class="tree-titbg_left">
                    <asp:Label ID="lbl_InfoTitle_AddVirtual" runat="server" Text=""></asp:Label>
                </td>
            </tr>
        </table>
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableList2"
            style="border-bottom-style: none;">
            <tr>
                <th>
                    <asp:Label ID="lbl_ResourceName" runat="server" Text=""></asp:Label></th>
                <td style="width: 162px">
                    <input type="text" name="txt_ResourceName" id="txt_ResourceName" runat="server" style="width: 189px"
                        maxlength="256" /><span style="color: #ff0033;">*</span><asp:RequiredFieldValidator ID="rfv_txt_ResourceName" runat="server"
                            ErrorMessage="" ControlToValidate="txt_ResourceName"></asp:RequiredFieldValidator>
                    <asp:Label ID="lbl_editresourceinfo_msg_resourcename" runat="server" Text="" ForeColor="Red"></asp:Label></td>
                <th>
                    <asp:Label ID="lbl_ResourceClass" runat="server" Text=""></asp:Label></th>
                <td>
                    <asp:DropDownList ID="ddl_ResourceClass" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <th>
                    <asp:Label ID="lbl_CourseName" runat="server" Text=""></asp:Label></th>
                <td>
                    <asp:Label ID="lab_CourseName" runat="server" Text="所属课程"></asp:Label></td>
                <th>
                    <asp:Label ID="lbl_VideoTime" runat="server" Text=""></asp:Label></th>
                <td>
                    <input type="text" name="txt_VideoTime" id="txt_VideoTime" runat="server" value="1"
                        style="width: 108px" /><span style="color: #ff0033;">*</span>(<%=GetLanageValueByKey("AddResourceInfo_lbl_l1_2", PowerCreator.LMS.Language.LanagetItemType.Page)%>)</td>
            </tr>
            <tr>
                <th>
                    <asp:Label ID="lbl_AuthorName" runat="server" Text=""></asp:Label></th>
                <td>
                    <input type="text" name="txt_AuthorName" id="txt_AuthorName" runat="server" maxlength="100" />
                </td>
                <th>
                    <asp:Label ID="lbl_CoursersRestpID" runat="server" Text=""></asp:Label></th>
                <td>
                    <asp:DropDownList ID="ddl_CoursersRestpID" runat="server">
                    </asp:DropDownList>
                    <asp:Label ID="lbl_addresourceinfo_msg_courseesrestpid" runat="server" Text="" ForeColor="Red"></asp:Label>
                </td>
            </tr>
        </table>
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableList3">
            <tr>
                <th valign="top">
                    &nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="lbl_Remark" runat="server" Text=""></asp:Label>
                </th>
                <td colspan="3">
                    <FTB:FreeTextBox ID="FreeTextBox1" runat="server" Height="300px" Language=""
                        Width="700px">
                    </FTB:FreeTextBox>
                </td>
            </tr>
        </table>
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableList2">
            <tr>
                <td colspan="4" class="titlefont">
                    <asp:Label ID="lbl_advert" runat="server" Text=""></asp:Label>
                    <span style="color: Gray; font-weight: normal;">
                        <asp:Label ID="lbl_advert_English" runat="server" Text=""></asp:Label></span></td>
            </tr>
            <tr>
                <th>
                    <asp:Label ID="lbl_Url" runat="server" Text=""></asp:Label></th>
                <td>
                    <input type="text" name="txt_Url" id="txt_Url" runat="server" style="width: 500px" /><span style="color: #ff0033;">*</span>&nbsp;
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="文件夹路径不能为空"
                        ControlToValidate="txt_Url"></asp:RequiredFieldValidator><br />
                    <asp:Label ID="lbl_advert_url" runat="server" Text=""></asp:Label></td>
            </tr>
            <tr>
                <th>
                    <asp:Label ID="lbl_EntryFileName" runat="server" Text=""></asp:Label></th>
                <td colspan="3">
                    <input type="text" name="txt_EntryFileName" id="txt_EntryFileName" runat="server"
                        style="width: 418px" /><span style="color: #ff0033;">*</span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="入口文件不能为空"
                        ControlToValidate="txt_EntryFileName"></asp:RequiredFieldValidator>
                    <%--<input type="button" value="" id="btnTest" name="btnTest" class="inputBotton2" onserverclick="btnTest_ServerClick"
                        runat="server" contenteditable="false" onclick="return btnTest_onclick()" />--%>
                        <input type="button" value="" id="btnTest" name="btnTest" class="inputBotton2" onserverclick="btnTest_ServerClick"
                        runat="server" CausesValidation="false" />
                    <asp:Button ID="btnPreview" runat="server" CssClass="inputBotton2" OnClick="btnPreview_Click"
                        Text="" CausesValidation="False" />
                    <br />
                        <asp:Label ID="lbl_editorresource_msg_filepath" runat="server" Text="" ForeColor="RED"></asp:Label>
                        <br />
                    <asp:Label ID="lbl_advert_htm" runat="server" Text=""></asp:Label></td>
            </tr>
            <tr>
                <td colspan="4" class="tree-bottom-bg">
                    <input type="button" value="" id="btn_Save" name="btnSave" class="inputBotton2" runat="server"
                        onserverclick="btn_Save_ServerClick" />
                    <asp:Button ID="btn_Reset" runat="server" CssClass="inputBotton2" OnClick="btnReset_Click"
                        Text="" CausesValidation="False" /></td>
            </tr>
        </table>
    </form>
</body>
</html>
